<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>C网页</title>
</head>
<body>
    <button type="button" onclick="relodNowPage()" style="background-color: lightskyblue;">点一点,清华北大等你来</button>
    <button type="button" onclick="doFoward()" style="background-color: cyan;">跳转到淘宝</button>
</body>
<script type="text/javascript">
// 页面跳转功能
  function doFoward(){
      location.href='http://taobao.com'
  }
//页面刷新功能
function  relodNowPage(){
    location.reload();
}
</script>
</html>